package ua.nure.nguyen.blinove.chapter6.annotation.examples;

public class AccountOperationManagerImpl implements AccountOperationManager {
	@Override
	@BankingAnnotation(securityLevel = SecurityLevel.HIGH)
	public double depositInCash(int accountNumber, int amout) {
		// do some operations
		return 0;
	}
	
	@Override
	@BankingAnnotation(securityLevel = SecurityLevel.HIGH)
	public boolean withdraw(int accountNumber, int amout) {
		// do some operations
		return true;
	}
	
	@Override
	@BankingAnnotation(securityLevel = SecurityLevel.LOW)
	public boolean convert(double amout) {
		// do some operations
		return true;
	}
	
	@Override
	@BankingAnnotation
	public boolean transfer(int accountNumber, int amount) {
		// do some operations
		return true;
	}
}
